
RUN: llvm-pdbutil dump -all %p/Inputs/TypeServerTest.pdb | FileCheck %s --check-prefix=NO-DBI
RUN: llvm-pdbutil pdb2yaml -all %p/Inputs/TypeServerTest.pdb > %t
RUN: FileCheck --input-file=%t %s --check-prefix=NO-DBI-YAML

NO-DBI-NOT: Native PDB Error: The specified stream could not be loaded.

NO-DBI:                         Module Stats
NO-DBI-NEXT: ============================================================
NO-DBI-NEXT:     DBI stream not present

NO-DBI:                      S_UDT Record Stats
NO-DBI-NEXT: ============================================================
NO-DBI-NEXT:     Globals stream not present

NO-DBI:                           Modules
NO-DBI-NEXT: ============================================================
NO-DBI-NEXT:     DBI stream not present

NO-DBI:                            Files
NO-DBI-NEXT: ============================================================
NO-DBI-NEXT:     DBI stream not present

NO-DBI:                            Lines
NO-DBI-NEXT: ============================================================
NO-DBI-NEXT:     DBI stream not present

NO-DBI:                        Inlinee Lines
NO-DBI-NEXT: ============================================================
NO-DBI-NEXT:     DBI stream not present

NO-DBI:                     Cross Module Imports
NO-DBI-NEXT: ============================================================
NO-DBI-NEXT:     DBI stream not present

NO-DBI:                     Cross Module Exports
NO-DBI-NEXT: ============================================================
NO-DBI-NEXT:     DBI stream not present


NO-DBI-YAML-NOT: Native PDB Error: The specified stream could not be loaded.

NO-DBI-YAML: TpiStream:
NO-DBI-YAML-NEXT:  Version:         VC80
NO-DBI-YAML-NEXT:  Records:
NO-DBI-YAML-NEXT:    - Kind:            LF_ARGLIST
